package com.temp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.temp.dto.SearchPermDTO;
import com.temp.entity.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    List<Permission> findAllPermission(SearchPermDTO permDTO);

    Integer countAllPermission(SearchPermDTO permDTO);
}
